package com.gift.service.webservice;


import org.apache.cxf.jaxws.JaxWsServerFactoryBean;

import javax.xml.ws.Endpoint;

public class WebServiceTest {

	public static void main(String[] args) {
		System.out.println("web service start");
		HelloWSImpl implementor = new HelloWSImpl();
		String address = "http://localhost:8080/helloWorld";
		Endpoint.publish(address, implementor);
		System.out.println("web service started");
	}
}
